package mvp.com.bbc.ui.model;

import io.reactivex.Observable;
import mvp.com.bbc.app.ApiUrls;
import mvp.com.bbc.app.BaseApplication;
import mvp.com.bbc.appContact.AppContact;
import mvp.com.bbc.bean.HotCoultBean;

/**
 * Created by Administrator on 2017/9/30.
 */

public class HotCoultModel implements AppContact.HotCoultModel {
    @Override
    public Observable<HotCoultBean> hotCoultModel(String currentPage) {
        ApiUrls.HotConsult hotConsult = BaseApplication.getmRetrofit().create(ApiUrls.HotConsult.class);
        Observable<HotCoultBean> observable = hotConsult.getData(currentPage);
        return observable;
    }
}
